from django.urls import path

from FileManager.views import DownloadAndViewFileAPIView, FileUploadView, DirectoryContentView, DeleteFileAPIView



urlpatterns = [

    path('download/', DownloadAndViewFileAPIView.as_view(), name='下载'),
    path('upload/', FileUploadView.as_view(), name='上传'),
    path('getdic/', DirectoryContentView.as_view(), name='上传'),
    path('delete/', DeleteFileAPIView.as_view(), name='删除'),


    # 添加其他路由模式...
]
